<?php
declare (strict_types = 1);

namespace app\service\logic\common\maintain;

use app\service\logic\BaseService;

final class PlacardService extends BaseService
{
    protected string $modelClassName = 'PlacardModel';

    /**
     * 排序参数
     *
     * @param $params
     * @param string $column
     * @param string $type
     * @return array|string[]
     */
    public function orderByParams($params, string $column = 'id', string $type = 'desc')
    {
        return parent::orderByParams($params, 'sort', 'asc');
    }
}
